package com.ydcycloud.company.service.impl;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.ydcycloud.company.dao.TradeDao;
import com.ydcycloud.company.model.Trade;
import com.ydcycloud.company.service.TradeService;
import com.ydcycloud.sys.service.impl.BaseServiceImpl;

@Component("tradeService")
public class TradeServiceImpl  extends BaseServiceImpl<TradeDao, Trade, Integer>
implements TradeService{

	@Autowired
	public void setDao(TradeDao dao) {
		this.dao = dao;
	}
	
	@Override
	public List<Trade> getTradeList(Integer size) {
		// TODO Auto-generated method stub
		return dao.getTradeList(size);
	}

}
